package com.asohofrucol.model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the form_field_data database table.
 * 
 */
@Entity
@Table(name="form_field_data")
public class FormFieldData implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Long id;

	@Column(name="data_name")
	private String dataName;

	@Column(name="data_value")
	private String dataValue;

	@Column(name="data_value_code")
	private String dataValueCode;

	//bi-directional many-to-one association to FormField
	@ManyToOne
	@JoinColumn(name="id_form_field")
	private FormField formField;

	public FormFieldData() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDataName() {
		return this.dataName;
	}

	public void setDataName(String dataName) {
		this.dataName = dataName;
	}

	public String getDataValue() {
		return this.dataValue;
	}

	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}

	public String getDataValueCode() {
		return this.dataValueCode;
	}

	public void setDataValueCode(String dataValueCode) {
		this.dataValueCode = dataValueCode;
	}

	public FormField getFormField() {
		return this.formField;
	}

	public void setFormField(FormField formField) {
		this.formField = formField;
	}

}